import Enemy from './Enemy.js'

// 中型敌机
export default class MediumEnemy extends Enemy {
  static WIDTH = 50
  static HEIGHT = 50
  static SPEED = 2
  static HEALTH = 2
  static SCORE = 20

  constructor() {
    super(
      MediumEnemy.WIDTH,
      MediumEnemy.HEIGHT,
      MediumEnemy.SPEED,
      MediumEnemy.HEALTH,
      MediumEnemy.SCORE,
      'medium',
      ''
    )
    this.maxHealth = MediumEnemy.HEALTH
  }
}
